﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DTO
{
    public class GioHangDTO
    {
        public GioHangDTO()
        {
        }

        private String _MaSanPham;
        public String MaSanPham
        {
            get { return _MaSanPham; }
            set { _MaSanPham = value; }
        }

        private String _TenSanPham;
        public String TenSanPham
        {
            get { return _TenSanPham; }
            set { _TenSanPham = value; }
        }

        private string _donViTinh;

        public string DonViTinh
        {
            get { return _donViTinh; }
            set { _donViTinh = value; }
        }

        private Decimal _GiaBan;
        public Decimal GiaBan
        {
            get { return _GiaBan; }
            set { _GiaBan = value; }
        }

        private int _SoLuong;

        public int SoLuong
        {
            get { return _SoLuong; }
            set { _SoLuong = value; }
        }

        private decimal _thanhTien;

        public decimal ThanhTien
        {
            get { return this._SoLuong * this._GiaBan; }
            set { _thanhTien = value; }
        }

        //private decimal _tongTien;

        //public decimal TongTien
        //{
        //    get { return _tongTien; }
        //    set { _tongTien = value; }
        //}


    }

}